@import 'assets/styles/realize/lin-variables.scss';

.log-container {
  .header-right {
    display: flex;

    .dropdown {
      height: 36px;
      padding: 0 12px;
      margin: 0 10px;
    }

    .ant-picker.ant-picker-range.date-picker {
      width: 350px;

      &.ant-picker-focused {
        box-shadow: none;
      }

      .ant-picker-input input {
        text-align: center;
      }
    }
  }

  .search {
    width: 100%;
    height: 52px;
    background: rgba(57, 99, 188, 0.1);
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    .search-tip {
      margin-left: 40px;
      height: 52px;
      line-height: 52px;
      color: #354058;
      font-size: 14px;

      .search-keyword {
        color: $theme;
      }

      .search-num {
        color: #f4516c;
      }
    }

    .search-back {
      margin: 8px 20px;
      height: 32px;
      background: #f4516c;
      border: none;
      border-radius: 2px;
      color: #fff;
      padding: 0 13px;
      font-size: 14px;
      cursor: pointer;
    }
  }

  @media screen and (max-width: 1000px) {
    .date-picker {
      display: none;
    }
  }

  .content {
    min-height: 400px;
    padding: 40px 60px;
    margin-top: 20px;
    position: relative;

    article {
      position: relative;
      margin-bottom: -24px;

      section {
        padding: 0 0 36px;
        position: relative;

        &:before {
          content: "";
          width: 1px;
          top: 7px;
          bottom: -17px;
          left: 10.5px;
          background: #f3f3f3;
          position: absolute;
        }

        &:last-child:before {
          display: none;
        }

        .point-time {
          content: "";
          position: absolute;
          width: 10px;
          height: 10px;
          top: 2px;
          left: 10px;
          background: $theme;
          margin-left: -4px;
          border-radius: 50%;
        }

        time {
          width: 15%;
          display: block;
          position: absolute;

          span {
            display: block;
            text-align: right;
          }
        }

        aside {
          color: #45526b;
          margin-left: 30px;

          .things {
            font-size: 14px;
            color: #45526b;
            margin-bottom: 15px;
            line-height: 14px;
          }
        }

        .text-yellow {
          color: #8c98ae;
          font-size: 14px;
          line-height: 20px;
          padding-right: 30px;
          float: left;
        }

        .brief {
          font-size: 14px;
          color: #c4c9d2;
          height: 20px;
          line-height: 20px;
          margin-bottom: 0;
        }
      }
    }
  }

  .more {
    height: 40px;
    line-height: 40px;
    color: $theme;
    font-size: 14px;
    margin-left: 28px;
    cursor: pointer;
    &.nothing {
      cursor: text;
    }

    .more-loading-icon {
      display: inline-block;
      animation: spin 1s linear infinite;
    }

    .down-circle-icon {
      font-size: 14px;
      display: inline;
      margin-left: 6px;
    }
  }

  .nothing {
    color: #45526b;
    font-size: 14px;
  }

  .strong {
    color: #464dd5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
